package com.blb.zy_community.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.blb.zy_community.entity.ZyBuilding;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 楼栋  Mapper 接口
 * </p>
 *
 * @author 二组
 * @since 2023-06-18
 */
@Mapper
public interface ZyBuildingMapper extends BaseMapper<ZyBuilding> {
    //页面展示
    Page<ZyBuilding> selectZyBuilding(Page<?> page,String buildingName,String buildingCode,Long communityId);

    //批量删除
    void deleteBuilds(Long[] buildIds);

}
